package com.didichuxing.datachannel.arius.admin.client.bean.dto.cluster;

import com.didichuxing.datachannel.arius.admin.client.constant.app.AppClusterLogicAuthEnum;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

/**
 * Created by linyunan on 2021-10-14
 */
@Data
@NoArgsConstructor
@AllArgsConstructor
@ApiModel(description = "逻辑集群条件查询信息")
public class ClusterLogicConditionDTO extends ESLogicClusterDTO {
    /**
     * @see AppClusterLogicAuthEnum
     */
    @ApiModelProperty("权限类型 1:配置管理, 2:访问, -1:无权限")
    private Integer authType;

    @ApiModelProperty("暂无")
    private String  sortTerm;

    @ApiModelProperty(value = "是否降序排序（默认降序）", dataType = "Boolean", required = false)
    private Boolean orderByDesc = true;
}
